Removed unnessesary pixel calculations from AbsoluteLayout #11177

Change-Id: Ib3f8b48e5712e895abab159616aa1b2a1ec589c8