Is your "fullscreen on browser" set to off? (the project propriety), if so, you can get rid of that border by using the set canvas size action, to WindowWidth and WindowHeight just after leaving the fullscreen mode (or you can just set the propriety to letterbox scale)