Deal with extended window styles