fixed vector class in main.lua and modified loveFrames to handle mousedown