Resize bg for better performance