handle absolute positioned element more correctly

according to CSS2 Specification section 10.3.7