fixed issue where pressing a button caused other elements to move as well