MDL-41383 theme: filepicker zoom resiliency

Fixed an issue that broke the file picker on bootstrapbase when zooming in and out.