Removed an unused macro definition
Fixed resolution bug