Made y-offset a local variable in maingamescreen instead of constant