Disabled dimension reset on close for media element