Fix for detached dom select not initializing