Most of problems like these are caused by extension, theme or hardware acceleration. To troubleshoot refer following steps.
- Start Firefox in safe mode. If the problem does not occur in safe mode go further.
- Turn hardware acceleration off. If problem is solved, update your graphics drivers.
- Switch to default theme.
- Disable extensions. If problem is solved test enabling extensions one by one.
Source: Troubleshooting Firefox