fixed positioning in preview mode