fix resolution detection
mouse additions