Fixing the display of the current selected media in forms