Convert mouse coords to pixels