Refine form positioning