Temporary fix for media player autoresize glitch