fixing onscreen buttons placement