I'm not sure the functions will still return the correct screen coordinates. For now it builds, I will add tests in the next commits.