Point coordinates switched to double