Added scaling support for selection ui