Fixed bug where top position was calculated based on height before width was applied. Reflow broke calculation