Fixed bad debug-text drawing on certain resolutions