Used the correct buffer in ws_frame_buffer
Used ws_buffer_data instead of accessing it directly in ws_cursor
Removed buffer member from ws_raw_buffer
Merge pull request #525 from TheNeikos/fix-image_data

Fix image data