Breakthrough with the HUD

window_get_width() and window_get_height() saved my life.