fix button rotation problem