Make widget coordinates relative