Fixed bug in relative layout - using absWidth and absHeight to convert from bottom coordinates to top coordinates