fix player resize issues