made the positioning work in getDrawPos